<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/include/tagLib.jsp" %>
<!doctype html>
<html lang="en">
<head>
    <title>admin-</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <%@include file="/include/cssLib.jsp" %>
</head>

<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-8">
            <div class="card">
                <div class="card-content">
                    <h4 class="card-title">编辑资料</h4>
                    <form onsubmit="return false;" onclick="dialogAlert('暂未实现，敬请期待！')">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group label-floating">
                                    <input name="name" type="text" placeholder="姓名*" value="${userSessionBean.name}" required="true" class="form-control">
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group label-floating">
                                    <input name="password" type="password" placeholder="密码" class="form-control">
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group label-floating">
                                    <input name="email" type="email" placeholder="邮箱" value="${userSessionBean.email}" class="form-control">
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group label-floating">
                                    <input name="phone" type="tel" placeholder="电话" value="${userSessionBean.phone}" class="form-control">
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group label-floating">
                                    <input name="position" placeholder="职位" value="${userSessionBean.position}" type="text" class="form-control">
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group label-floating">
                                    <div class="form-group label-floating">
                                        <textarea name="remarks" placeholder="很懒，什么也没介绍" class="form-control" rows="2">
                                            ${userSessionBean.remarks}
                                        </textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <button type="submit" class="btn btn-rose pull-right">更新资料</button>
                        <div class="clearfix"></div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<%@include file="/include/scriptLib.jsp" %>
</html>